package org.lw.springbootlw.common.model;



import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private Long id;
    private String username;
    private String password;  // 可以加密存储
    private List<Role> roles; // 用户的角色列表
}

